/*
 * @Author: thl t15945324431@163.com
 * @Date: 2023-11-06 09:30:13
 * @LastEditors: thl t15945324431@163.com
 * @LastEditTime: 2023-11-28 17:47:58
 * @FilePath: \cw_web\gl\src\request\wallet\userBalance.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: thl t15945324431@163.com
 * @Date: 2023-10-27 09:39:06
 * @LastEditors: thl t15945324431@163.com
 * @LastEditTime: 2023-10-31 13:45:41
 * @FilePath: \cw_web\gl\src\request\wallet\withdraw.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react'

//查看web用户余额管理
export async function apiGetWebMemberWalletRecordPage(params) {
  return await React.$postJson('/user/api/b/memberWalletRecord/getWebMemberWalletRecordPage', params);
}
//修改用户钱包状态
export async function apiUpdateMemberWalletStatus(params) {
  return await React.$post('/user/api/b/memberWalletRecord/updateMemberWalletStatus', params);
}
//查看web钱包余额详情
export async function apiGetWebMemberWalletDetail(memberId) {
  return await React.$get('/user/api/b/memberWalletRecord/getWebMemberWalletDetail',{memberId});
}
//查看Web用户收支流水
export async function apiGetMemberWalletWebRecordPage(params) {
  return await React.$postJson('/user/api/b/memberWalletRecord/getMemberWalletWebRecordPage', params);
}
//查看Web用户冻结流水
export async function apiGetMemberWalletFreezeRecordPage(params) {
  return await React.$post('/user/api/b/memberWalletRecord/getMemberWalletFreezeRecordPage', params);
}
//冻结-解冻用户余额
export async function apiFreezeMemberWalletPrice(params) {
  return await React.$postJson('/user/api/b/memberWalletRecord/freezeMemberWalletPrice', params);
}